package ihuoui.mq.store;

import java.io.Serializable;

public class MappedFileRead implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 4605138948302675351L;
	private byte[] readData;
	private int readPosition;
	private int readLen;
	private boolean flagCode=true;

	public byte[] getReadData() {
		return readData;
	}

	public void setReadData(byte[] readData) {
		this.readData = readData;
	}

	public int getReadPosition() {
		return readPosition;
	}

	public void setReadPosition(int readPosition) {
		this.readPosition = readPosition;
	}

	public int getReadLen() {
		return readLen;
	}

	public void setReadLen(int readLen) {
		this.readLen = readLen;
	}

	public boolean isFlagCode() {
		return flagCode;
	}

	public void setFlagCode(boolean flagCode) {
		this.flagCode = flagCode;
	}

}
